import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Gao zhao xu
 * Date: 2023-10-30
 * Time: 8:02
 */
public class Test {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int x = in.nextInt();
        in.nextLine();
        for (int i = 0; i < x; i++){
            String s = in.nextLine();
            String new_s = "";
            for (int j = 0; j < s.length();j++){
                if ((s.charAt(j) >= 'a' && s.charAt(j) < 'z') || (s.charAt(j) >= 'A' && s.charAt(j) < 'Z')){
                    new_s = new_s + (char)(s.charAt(j) + 1);
                }else if (s.charAt(j) == 'z'){
                    new_s += 'a';
                }else if (s.charAt(j) == 'Z'){
                    new_s += 'A';
                }else{
                    new_s += s.charAt(j);
                }
            }
            System.out.println(new_s);
        }
    }
}
